package com.honghea.rxhttp.exception;

public class ApiException extends Exception {

    public int code;
    public String msg;

    public ApiException(Throwable throwable, int code) {
        super(throwable);
        this.code = code;
    }

    public ApiException(String msg, int code) {
        this.msg = msg;
        this.code = code;
    }

}
